home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / samples / docobj / makefile < prev    next >
Makefile  |  1995-12-04  |  1KB  |  45 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. APPVER=4.0
  4.  
  5. all:framer.exe
  6.  
  7. !include <win32.mak>
  8.  
  9. # Update the resource if necessary
  10.  
  11. cflags=$(cflags) -DUNICODE
  12.  
  13. framer.res: framer.rc resource.h
  14.     $(rc) $(rcvars) $(rcflags) framer.rc
  15.  
  16. # Update the object file if necessary
  17.  
  18. framer.obj: framer.cpp framer.h
  19.     $(cc) $(cflags) $(cvars) $(cdebug) framer.cpp
  20.  
  21. iadvsink.obj: iadvsink.cpp framer.h
  22.     $(cc) $(cflags) $(cvars) $(cdebug) iadvsink.cpp
  23.  
  24. iclisite.obj: iclisite.cpp framer.h
  25.     $(cc) $(cflags) $(cvars) $(cdebug) iclisite.cpp
  26.  
  27. iipsite.obj: iipsite.cpp framer.h
  28.     $(cc) $(cflags) $(cvars) $(cdebug) iipsite.cpp
  29.  
  30. site.obj: site.cpp framer.h site.h
  31.     $(cc) $(cflags) $(cvars) $(cdebug) site.cpp
  32.  
  33. idocsite.obj: idocsite.cpp framer.h
  34.     $(cc) $(cflags) $(cvars) $(cdebug) idocsite.cpp
  35.  
  36. # Update the executable file if necessary, and if so, add the resource back in.
  37.  
  38. framer.exe: framer.obj iadvsink.obj idocsite.obj iclisite.obj iipsite.obj site.obj framer.res
  39.     $(link) $(ldebug) $(lflags) -out:framer.exe framer.obj iadvsink.obj idocsite.obj iclisite.obj iipsite.obj site.obj framer.res $(olelibs) uuid3.lib
  40.  
  41. clean:
  42.     del *.obj
  43.     del *.exe
  44.     del *.res
  45.